<?php
/**
 * 客户自主分类管理中间表
 *
 * @author Zeon <scplay@gmail.com>
 * @date 2018/6/7
 * @copyright PanxSoft Inc.
 */
namespace App\Models\Panx;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;

/**
 * Class CategoryPivotCustomer
 * @mixin Builder
 * @package App\Models\Panx
 */
class CategoryPivotCustomer extends Model
{
    const IS_SHOW = 1;   // 显示客户产品类别
    const IS_HIDE = 0;   // 隐藏客户产品类别

    protected $table = 'category_pivot_customer';

    protected $guarded = [];

    protected $casts = [
        'is_show' => 'int'
    ];
}
